From cc53c58e4e243badde2f6904b88675fe04c38d31 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Wed, 10 May 2006 15:58:36 -0600 Subject: [PATCH] [IA64] linux: MULTI_update_va_mapping definition to copmile netback and netfront add trivial definitions, MULTI_UVMFLAGS_INDEX and MULTI_update_va_mapping() to compile netback and netfront Signed-off-by: Isaku Yamahata --- linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h b/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h index de12853dcc..86fc59d809 100644 --- a/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h +++ b/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h @@ -172,6 +172,19 @@ xen_destroy_contiguous_region(unsigned long vstart, unsigned int order) if (running_on_xen) __xen_destroy_contiguous_region(vstart, order); } + +// for netfront.c, netback.c +#define MULTI_UVMFLAGS_INDEX 0 //XXX any value + +static inline void +MULTI_update_va_mapping( + multicall_entry_t *mcl, unsigned long va, + pte_t new_val, unsigned long flags) +{ + mcl->op = __HYPERVISOR_update_va_mapping; + mcl->result = 0; +} + #else #define xen_create_contiguous_region(vstart, order, address_bits) (0) #define xen_destroy_contiguous_region(vstart, order) do {} while (0) -- 2.30.2